<?php
/**
 * Created by PhpStorm.
 * User: lee
 */

use Biz\service\trade\OrderRefund as sOrderRefund;

class CancelRightsAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;

    public function main()
    {
        $refundOrderNo = $this->getRequest()->getPost('refund_order_no', '');

        $data = sOrderRefund::cancelRights($this->uid, $refundOrderNo);

        $this->setSuccess($data);
    }
}